<!-- start content-outer ........................................................................................................................START -->
<div id="content-outer">
<!-- start content -->
<div id="content">

	<!--  start page-heading -->
	<div id="page-heading">
		<h1>{$TITLE}</h1>
	</div>
	<!-- end page-heading -->

	<!--  start menu-interno -->
	<div id="menu-interno">
		<ul>
			<li>
				<a href="{$LINK_CADASTRAR}">
					<img width="15" height="15" alt="+" src="{$smarty.const.URL_IMAGENS}forms/forms/icon_plus.gif" /> 
					<span>Adicionar Novo</span>
				</a>
			</li>
		</ul>
	</div>
	<div class="clear"></div>
	<!-- end menu-interno -->

	<table border="0" width="100%" cellpadding="0" cellspacing="0" id="content-table">
	<tr>
		<th rowspan="3" class="sized"><img src="{$smarty.const.URL_IMAGENS}forms/shared/side_shadowleft.jpg" width="20" height="300" alt="" /></th>
		<th class="topleft"></th>
		<td id="tbl-border-top">&nbsp;</td>
		<th class="topright"></th>
		<th rowspan="3" class="sized"><img src="{$smarty.const.URL_IMAGENS}forms/shared/side_shadowright.jpg" width="20" height="300" alt="" /></th>
	</tr>
	<tr>
		<td id="tbl-border-left"></td>
		<td>
		<!--  start content-table-inner ...................................................................... START -->
		<div id="content-table-inner">
		
			<!--  start table-content  -->
			<div id="table-content">
			
				{if $MSG_SISTEMA}
					<!--  start message-green -->
					<div id="message-green">
					<table border="0" width="100%" cellpadding="0" cellspacing="0">
					<tr>
						<td class="green-left">{$MSG_SISTEMA}</td>
						<td class="green-right"><a class="close-green"><img src="{$smarty.const.URL_IMAGENS}forms/table/icon_close_green.gif"   alt="" /></a></td>
					</tr>
					</table>
					</div>
					<!--  end message-green -->
				{/if}
		
		 
				<!--  start product-table ..................................................................................... -->
				<form id="mainform" action="">
				<table border="0" width="100%" cellpadding="0" cellspacing="0" id="product-table">
				<tr>
					{*<th class="table-header-check"><a id="toggle-all" ></a> </th>*}
					{section name="oph" loop=$POSITIONS}
						{assign var="order" value=$POSITIONS_FIELDS[oph]}
						<th class="table-header-repeat line-left minwidth-1"><a {if $order == $ORDERNAR_POR} class="ordering" {/if} href="{$POSITIONS_ORDER[oph]}">{$POSITIONS[oph]}</a></th>
					{/section}
					<th class="table-header-options line-left"><a href="">Op&ccedil;&otilde;es</a></th>
				</tr>
				{section loop=$arrRegistros name=cont}
					{if $smarty.section.cont.index mod 2}
						<tr class="alternate-row">
					{else}
						<tr>
					{/if}
						{*<td><input  type="checkbox"/></td>*}
						{section name=opb loop=$POSITIONS_FIELDS}
							{assign var="campo" value=$POSITIONS_FIELDS[opb]}
							<td>{if $arrRegistros[cont].$campo != ""}{$arrRegistros[cont].$campo}{else}-{/if}</td>
						{/section}
						<td class="options-width">
							{if $arrRegistros[cont].editar != ""}
								<a href="{$arrRegistros[cont].editar}" title="Editar" class="icon-1 info-tooltip"></a>
							{/if}
							{if $arrRegistros[cont].excluir != ""}
								<a href="javascript:void(0);" onclick="javascript:confirmaPara('{$arrRegistros[cont].excluir}', 'Deseja realmente deletar este registro?')" class="icon-2 info-tooltip" title="Excluir" /></a>
							{/if}
						</td>
					</tr>
				{sectionelse}
					<tr>
						{assign var="colspan" value=$POSITIONS|@count}
						<td class="textCenter" colspan="{$colspan+1}">N&atilde;o exitem registros cadastrados</td>
					</tr>
				{/section}
				
				</table>
				<!--  end product-table................................... --> 
				</form>
			</div>
			<!--  end content-table  -->
			
			{*		
			<!--  start actions-box ............................................... -->
			<div id="actions-box">
				<a href="" class="action-slider"></a>
				<div id="actions-box-slider">
					<a href="" class="action-edit">Edit</a>
					<a href="" class="action-delete">Delete</a>
				</div>
				<div class="clear"></div>
			</div>
			<!-- end actions-box........... -->
			*}
			
			<!--  start paging..................................................... -->
			<table border="0" cellpadding="0" cellspacing="0" id="paging-table">
			<tr>
			{if $PAGINACAO}
				<td>
					<a title="Primeira" href="{if $PAGATUAL_GRID == 1}javascript:void(0);{else}{$LINK_PRIMEIRAPAG}{/if}" class="page-far-left"></a>
					<a title="Anterior" href="{if $PAGATUAL_GRID == 1}javascript:void(0);{else}{$LINK_PAGANTERIOR}{/if}" class="page-left"></a>
					<div id="page-info">P&aacute;gina <strong>{$PAGATUAL_GRID}</strong> / {$NUMPAGS_GRID}</div>
					<a title="Pr&oacute;xima" href="{if $PAGATUAL_GRID == $NUMPAGS_GRID}javascript:void(0);{else}{$LINK_PROXIMAPAG}{/if}" class="page-right"></a>
					<a title="&Uacute;ltima" href="{if $PAGATUAL_GRID == $NUMPAGS_GRID}javascript:void(0);{else}{$LINK_ULTIMAPAG}{/if}" class="page-far-right"></a>
				</td>
			{/if}
			<td>
				<form method="post" action="" id="showPags">
					<select id="NUM_ELEMENTOS_GRID" class="styledselect_pages" name="NUM_ELEMENTOS_GRID" onchange="jQuery('#showPags').submit();">
						{section name=foo start=10 loop=51 step=10}
							<option value="{$smarty.section.foo.index}" {if $smarty.section.foo.index == $smarty.const.NUM_ELEMENTOS_GRID}selected="selected"{/if} >Exibir {$smarty.section.foo.index}</option>
						{/section}
					</select>
				</form>
			</td>
			</tr>
			</table>
			<!--  end paging................ -->
			
			<div class="clear"></div>
		 
		</div>
		<!--  end content-table-inner ............................................END  -->
		</td>
		<td id="tbl-border-right"></td>
	</tr>
	<tr>
		<th class="sized bottomleft"></th>
		<td id="tbl-border-bottom">&nbsp;</td>
		<th class="sized bottomright"></th>
	</tr>
	</table>
	<div class="clear">&nbsp;</div>

</div>
<!--  end content -->
<div class="clear">&nbsp;</div>
</div>
<!--  end content-outer........................................................END -->

<div class="clear">&nbsp;</div>